-
Notifications
You must be signed in to change notification settings - Fork 834
Fix checking nested fields for records #18964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
… tests, minor refactoring
❗ Release notes requiredCaution No release notes found for the changed paths (see table below). Please make sure to add an entry with an informative description of the change as well as link to this pull request, issue and language suggestion if applicable. Release notes for this repository are based on Keep A Changelog format. The following format is recommended for this repository:
If you believe that release notes are not necessary for this PR, please add NO_RELEASE_NOTES label to the pull request. You can open this PR in browser to add release notes: open in github.dev
|
tests/FSharp.Compiler.ComponentTests/Language/CopyAndUpdateTests.fs
Outdated
Show resolved
Hide resolved
tests/FSharp.Compiler.ComponentTests/Language/CopyAndUpdateTests.fs
Outdated
Show resolved
Hide resolved
I think this might also fix #18062 ? |
Yes, this fixes that issue too |
…x typo in func name.
Head branch was pushed to by a user without write access
/run fantomas |
🔧 CLI Command Report
✅ Patch applied: |
Enhance the F# compiler’s type checker to correctly support and validate nested field updates (with depth > 1) for both anonymous and records. Add tests to cover these scenarios, and perform minor refactoring.
Fixes #18940
Fixes #18062